<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title>北京科技报</title>
		<link href="css/common.css" rel="stylesheet">
		<link href="css/header.css" rel="stylesheet">
		<link href="css/play.css" rel="stylesheet">
		<link href="css/bookstarp.css" rel="stylesheet">
		<link href="css/swiper.css" rel="stylesheet">
		<script src="js/swiper.js"></script>
		<script src="js/vue.js"></script>
		<script src="js/hls.js"></script>
		<script src="js/DPlayer.js"></script>
	</head>
	<body onload="init()">
		<div id="vue_det">
			<div class="header-box">
				<div class="header flex align-end">
					<div class="flex-one">
						<img class="header-logo" src="images/logoff.png" />
						<div class="font-12 color-ff">聚焦科学传播 弘扬科学精神</div>
					</div>
					<div class="header-search-btn">
						<img class="header-search" src="images/search.png" />
					</div>
				</div>
				<div class="padding-lr-12 bg-ff" style="height: 43px;line-height: 43px;">
					<span class="font-12">当前位置：</span>
					<span class="font-12">合集</span>
					<span class="font-12">＞</span>
					<span class="font-12">视频列表</span>
					<span class="font-12">＞</span>
					<span class="font-12 color-main">详情</span>
				</div>
				<div class="flex align-center bg-ff padding-lr-12">
					<div class="header-xian flex-one"></div>
					<div class="header-radius"></div>
				</div>
			</div>
			<div class="box margin-top-120">
				<div id="dplayer" class="video" ></div>
				<div class="container padding-tb-16">
					<div class="font-18 text-bold">国际科创中心十年记 | 这些医药健康领域的新科技，就诞生在中关村</div>
					<div class="font-12 text-9ca margin-top-20">北京科技报</div>
					<div class="font-12 text-9ca margin-top-10">
						<span>2024/05/01 09:37</span>
						<span class="margin-left-8">2.8万人观看</span>
					</div>
					<div class="text-html-box margin-top-24">
						<div v-html="123"></div>
					</div>
					<div class="margin-top-20">
						<div id='swiper-container'  class="swiper-container">
							<div class="swiper-wrapper">
								<div class="swiper-slide">
									<a href="">
										<img class="advert-img" src="images/app.png" alt="" />
									</a>
								</div>
								<div class="swiper-slide">
									<a href="">
										<img class="advert-img" src="images/app.png" alt="" />
									</a>
								</div>
								<!-- 更多 slide -->
							</div>
							<div  class="swiper-pagination"></div>
						</div>
					</div>
					<div class="margin-top-30">
						<div class="flex align-center justify-between">
							<div class="font-17 color-main text-bold">相关视频</div>
							<a class="flex align-center" href="">
								<div class="font-13">更多</div>
								<img class="syou" src="images/syou.png" />
							</a>
						</div>
						<div class="flex align-center bg-ff margin-top-8">
							<div class="header-xian flex-one"></div>
							<div class="header-radius"></div>
						</div>
						<div class="flex flex-wrap justify-between margin-top-20">
							<div class="margin-bottom-14" style="width: 48%;">
								<a href="">
									<div class="position-relative">
										<img class="content-sm-img" src="images/app.png" />
										<div class="play-btn">
											<img src="images/play.png" alt="" />
										</div>
									</div>
									<div class="content-sm-word text-cut-two">提问科学家：争做辟谣小卫前多吃碳水化合物可争做辟谣小卫前多吃碳水化合物可
									</div>
								</a>
							</div>
							<div class="margin-bottom-14" style="width: 48%;">
								<a href="">
									<div class="position-relative">
										<img class="content-sm-img" src="images/app.png" />
										<div class="play-btn">
											<img src="images/play.png" alt="" />
										</div>
									</div>
									<div class="content-sm-word text-cut-two">提问科学家：争做辟谣小卫前多吃碳水化合物可争做辟谣小卫前多吃碳水化合物可
									</div>
								</a>
							</div>
							<div class="margin-bottom-14" style="width: 48%;">
								<a href="">
									<div class="position-relative">
										<img class="content-sm-img" src="images/app.png" />
										<div class="play-btn">
											<img src="images/play.png" alt="" />
										</div>
									</div>
									<div class="content-sm-word text-cut-two">提问科学家：争做辟谣小卫前多吃碳水化合物可争做辟谣小卫前多吃碳水化合物可
									</div>
								</a>
							</div>
						</div>
					</div>
					<div class="margin-top-30">
						<div id='swiper-container-two'  class="swiper-container">
							<div class="swiper-wrapper">
								<div class="swiper-slide">
									<a href="">
										<img class="advert-b-img" src="images/app.png" alt="" />
									</a>
								</div>
								<div class="swiper-slide">
									<a href="">
										<img class="advert-b-img" src="images/app.png" alt="" />
									</a>
								</div>
								<!-- 更多 slide -->
							</div>
							<div  class="swiper-pagination"></div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</body>
</html>
<script>
	function init() {
	  const dp = new DPlayer({
		element: document.getElementById('dplayer'),
		video: {
		  //  pic: videoInfo.img, // 封面
		  url: "https://vod3.bdzybf3.com/20210509/ZMHA3RpS/1000kb/hls/index.m3u8",
		  type: 'customHls',
		  customType: {
			customHls: function (video, player) {
			  const hls = new Hls()
			  hls.loadSource(video.src)
			  hls.attachMedia(video)
			}
		  }
		}
	  })
	}
	var vm = new Vue({
		el: '#vue_det',
		data: {
			
		},
		mounted: function() {
			var mySwiper = new Swiper('#swiper-container', {
				speed: 600,
				loop: true,
				pagination: '.swiper-pagination',
				paginationClickable: true
			});
			var mySwiperTwo = new Swiper('#swiper-container-two', {
				speed: 600,
				loop: true,
				pagination: '.swiper-pagination',
				paginationClickable: true
			});
		},
		methods: {
			
		}
	})
</script>